This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Nov 17, 2013, 4:23 AM
8 Posts

customize jvm.properties

  • Category: Install,Notes Client,Performance
  • Platform: Windows
  • Release: 9.0
  • Role: Administrator
  • Tags:
  • Replies: 3
Hi Olivier,

I think you can modify vmarg.Xmx of deploy\jvm.properties file in the Notes 9 installation package. After upgrade to Notes 9, the new vmarg.Xmx property will be written into NOTESDIR\framework\rcp\deploy\jvm.properties. But it will also overwrite the original jvm.properties file. So if you have any customized porperties in previous jvm.properties, you need to merge them in the file of Notes 9 installation package.


Hope this helps.


Qi Ming
Nov 19, 2013, 9:35 AM
4 Posts
Thx for your reply. This file is overwritten when I apply an interim fix so I can't use your solution.

I coded a .bat to install automatically Notes 9 and IF3, so I have put some extra code to change the jvm.properties like that  :


FOR /F "usebackq tokens=1,* delims==" %%a IN ("%JVMPROPERTIESFILENAME%") DO (
        IF "%%b"=="" (
                echo %%a>> "%JVMPROPERTIESFILENAMETMP%"
        ) ELSE (
                IF "%%a"=="vmarg.Xmx" (
                        ECHO %DATE% %TIME% %%a=%%b vers %%a=-Xmx1024m
                        echo %%a=-Xmx768m>> "%JVMPROPERTIESFILENAMETMP%"
                ) ELSE (
                        IF "%%a"=="vmarg.Xms" (
                                ECHO %DATE% %TIME% %%a=%%b vers %%a=-Xms256m
                                echo %%a=-Xms256m>> "%JVMPROPERTIESFILENAMETMP%"
                        ) ELSE (
                                IF "%%a"=="vmarg.Xmca" (
                                        ECHO %DATE% %TIME% %%a=%%b vers %%a=-Xmca512k
                                        echo %%a=-Xmca512k>> "%JVMPROPERTIESFILENAMETMP%"
                                ) ELSE (
                                        echo %%a=%%b>> "%JVMPROPERTIESFILENAMETMP%"
                                )
                        )
                )
        )
)

DEL /Q "%JVMPROPERTIESFILENAME%"
MOVE /Y "%JVMPROPERTIESFILENAMETMP%" "%JVMPROPERTIESFILENAME%"

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal